package com.applcn.shop.repo.entity;

import com.applcn.core.base.BaseEntity;
import com.applcn.shop.constant.ShopStatusEnum;
import com.applcn.shop.constant.ShopVersionEnum;
import lombok.Data;

import java.util.Date;

/**
 * com.applcn.shop.repo.entity
 * Description:
 *
 * @author: 大妖怪
 * @date: 2020-01-19 18:46
 */
@Data
public class ShopEntity extends BaseEntity {

    private static final long serialVersionUID = -4323674001232265088L;

    /**
     * 用户id 主账号
     */
    private Long userId;

    /**
     * 商户id
     */
    private Long merchantId;

    /**
     * 唯一店铺名称
     */
    private String uniqueShopName;

    /**
     * 店铺说明
     */
    private String shopExplain;

    /**
     * 店铺logo
     */
    private String shopLogo;

    /**
     * 类目id
     */
    private Long categoryId;

    /**
     * 购买过期时间
     */
    private Date expireTime;

    /**
     * 店铺状态 -1-到期 1-正常
     */
    private ShopStatusEnum shopStatus;

    /**
     * 付费类型 0-免费版 1-付费方案1 ...
     */
    private ShopVersionEnum shopVersion;
}
